<div class="pt15 pl15">当前位置：<span class="layui-breadcrumb"><a href="/">首页</a><a href="/admin/sys-role/index">角色管理</a><a><cite>编辑角色</cite></a></span></div>
<div class="layui-fluid">
    <div class="layui-card p30">		
		<div class="border-b pb15 f22">编辑角色</div>
		<form class="layui-form" action="/admin/sys-role/update">
		<input type="hidden" id="id" name="id" value="<?= $model->id;?>"/>
		<div class="layui-card-body pt30 pb15">		
			<div class="layui-container">
				<div class="layui-row">
					<div class="layui-col-xs12 layui-col-md6">					
					    <div class="layui-form-item">
							<label class="layui-form-label">角色名称：</label>
							<div class="layui-input-block">
								<input type="text" name="name" id="name" value="<?= $model->name;?>" required  lay-verify="required" placeholder="请输入角色名称"  class="layui-input">
							</div>
					    </div>   
					</div>				
				</div>       
			</div>
		</div>		
		<div class="pt30 border-t text-c"> 		
			<button type="submit" class="layui-btn layui-btn-normal">提交</button>
			<a class="layui-btn layui-btn-primary" href="/admin/sys-role/index">取消</a>				
		</div>		
		</form>		
    </div>
</div>